package com.lsh.enu;

import com.lsh.service.RoleOperation;

/**
 * @author ：LiuShihao
 * @date ：Created in 2020/12/16 2:00 下午
 * @desc ：
 */
public enum RoleEnum implements RoleOperation {

    //系统管理员 有A操作权限
    ROLE_ROOT_ADMIN{
        @Override
        public String op() {
            return "ROLE_ROOT_ADMIN:"+"has AAA permission";
        }
    },
    ROLE_ORDER_ADMIN{
        @Override
        public String op() {
            return "ROLE_ORDER_ADMIN:"+"has BBB permission";
        }
    },
    ROLE_NORMAL{
        @Override
        public String op() {
            return "ROLE_NORMAL:"+"has CCC permission";
        }
    };
}
